package com.kk.builder;

/**
 * 建造者模式
 * 具体建造者
 *
 * @author 王志强
 * @date 2021-12-14
 */
public class HightBuilder extends HouseBuilder {

    @Override
    public void basicBuild() {
        house.setBasic("高楼 地基");
        System.out.println("高楼打地基");
    }

    @Override
    public void wallBuild() {
        house.setBasic("高楼 地基");
        System.out.println("高楼砌墙");
    }

    @Override
    public void roofBuild() {
        house.setBasic("高楼 地基");
        System.out.println("高楼封顶");
    }
}
